@import "src/common/styles/base";

.index {
  position: relative;

  .banner {
    width: 690px;
    height: 360px;
    margin: 0 auto 13px auto;
    border-radius: 10px;
    overflow: hidden;

    image {
      width: 690px;
      height: 360px;
      display: block;
      border-radius: 10px;
    }
  }

  .cate {
    display: flex;
    align-items: center;
    padding: 0 72px;

    justify-content: space-between;

    .item {
      display: flex;
      flex-direction: column;
      align-items: center;

      .icon {
        display: block;
        height: 100px;
        width: 100px;
        margin-bottom: 10px;
      }

      .text {
        font-size: 24px;
        font-weight: 600;
        color: rgba(51, 51, 51, 1);
        line-height: 33px;
        letter-spacing: 2px;
      }
    }
  }

  .ad-space {
    margin-top: 20px;
    margin-bottom: 57px;
  }

  .more {
    font-size: 24px;
    font-weight: 400;
    color: $base-color;
  }

  .no-data-placeholder {
    .placeholder-img {
      width: 339px;
      height: 227px;
      display: block;
      margin: 0 auto 0 auto;
    }
    text-align: center;
    line-height: 68px;
    color: #666666;
    font-size: 28px;
    margin-top: 8px;
  }

  .school-wrapper {
    height: 375px;
    // background: rgb(253, 253, 253);
    .school-card {
      height: 375px;
      box-sizing: border-box;
      padding: 30px 24px 41px 24px;

      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;

      .school-item {
        margin-bottom: 20px;
        width: 336px;
        height: 142px;
        background: #fff;
        box-shadow: 0px 7px 64px 0px rgba(0, 0, 0, 0.07);
        border-radius: 20px;
        display: flex;
        padding: 20px 22px 20px 12px;
        align-items: center;
        box-sizing: border-box;

        .school-logo {
          width: 100px;
          height: 100px;
          margin-right: 10px;
        }

        .school-con {
          flex: 1;
          overflow: hidden;

          .name {
            font-size: 24px;
            font-weight: 600;
            color: rgba(51, 51, 51, 1);
            line-height: 33px;
            margin-bottom: 13px;
            @include ellipsisByLine;
          }

          .desc {
            font-size: 22px;
            font-weight: 400;
            color: rgba(153, 153, 153, 1);
            //line-height:24px;
            @include ellipsisByLine(2);
          }
        }
      }
    }
  }

  .major-wrapper {
    margin-top: 20px;
    padding-top: 10px;
    padding-bottom: 40px;

    .major-it {
      width: 690px;
      height: 200px;
      background: rgba(255, 255, 255, 1);
      box-shadow: 0px 7px 64px 0px rgba(0, 0, 0, 0.07);
      border-radius: 10px;
      margin: 10px auto;
      box-sizing: border-box;
      padding: 0 30px;
      display: flex;
      align-items: center;

      .logo {
        width: 100px;
        height: 100px;
        display: block;
        background: $base-color;
        margin-right: 44px;
      }

      .major-con {
        flex: 1;
        overflow: hidden;

        .name {
          font-size: 30px;
          font-weight: 600;
          color: rgba(58, 58, 58, 1);
          line-height: 42px;
          margin-bottom: 20px;
        }

        .desc {
          font-size: 24px;
          font-weight: 400;
          color: rgba(96, 96, 96, 1);
          @include ellipsisByLine(2);
        }
      }
    }
  }
}
